:: filedef_setup.bat
::  Copyright (C) 2013 Testmonger
::  See https://inroad.codeplex.com/license

@echo off
CALL setenv.cmd

FOR /f "tokens=1,*" %%a IN ( %inroad_home%\FileDef\filedef_list.lst ) DO (
@echo off
echo %%a

set filedef=%inroad_home%\FileDef\%%a

@echo off
echo %filedef%

CALL runsql_2.cmd "%filedef%"

)

CALL "SQLCMD.EXE" -S %dbhost% -d "%dbname%" -Q "exec setfiledefpath "%inroad_home%""

echo file definition complete. 
PAUSE
